﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using Xyz.BusinessObjects.Validation;

namespace Xyz.BusinessObjects
{
    public class Airport : BusinessObject
	{
        public Airport()
        {
            AddRule(new ValidateMandatory("AirportName"));
            AddRule(new ValidateMandatory("AirportCode"));
           
           
        }
        public string AirportCode { get; set; }
        public string CityCode { get; set; }
        public string AirportName { get; set; }
        public List<Terminal> Terminals { get; set; }
	}
}


